<template>
	<div class="icp">
		{{ `Copyright © ${year} ` }}<a href="http://beian.miit.gov.cn/" target="_blank" class="pl-2">{{ record }}</a>
		<!-- {{ `Copyright © ${year} ${author} ` }}<a href="http://beian.miit.gov.cn/" target="_blank" class="pl-2">{{ record }}</a> -->
	</div>
</template>

<script lang="ts" setup>
let year = new Date().getFullYear(); // 一般都是最新的一年
// let author = "三三物联"; // 作者名
let record = "鄂ICP备2023003056号"; // 备案号
</script>

<style>
.icp {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 10px 0;
	color: #eeeeee;
	text-align: center;
}
.icp > a {
	color: #ffffff;
	text-decoration: none;
}
.icp > a:hover {
	text-decoration: none;
	opacity: 0.8;
}
</style>
